print("slices:")
l = [1, 2, 3]
k = list(range(9))
print(k[0:])
print(l[:2])
print(k[::])
print(l[1::])
print(k[:2:])
print(k[::3])
print(k[1:2:])
print(k[:2:3])
print(k[1::3])
print(k[2:1:2])
foostring = "python"
print(foostring[2:3])